//# sourceURL=http://uMapApp/Earth/DataSourceView/UrlTemplateImageryDataSourceView
define([
    "mhjs/mhjs",
    "uMap/uMap",
    "uEarth/uEarth",
    "./ImageryDataSourceView"
], function (
    mhjs,
    uMap,
    uEarth,
    ImageryDataSourceView
) {

    function UrlTemplateImageryDataSourceView(option) {

        var _this = this;
        ImageryDataSourceView.call(_this, option);

        _this.imagery = new uMap.ImageryLayer({
            objectOption: {
                imageryProvider    : new uEarth.UrlTemplateImageryProvider({
                    url         : _this.url,
                    subdomains  : _this.subdomains,
                    tilingScheme: _this.tilingScheme,
                    maximumLevel: _this.maxLevel
                }),
                rectangle          : _this.rectangle,
                minimumTerrainLevel: _this.minLevel,
                contrast           : _this.contrast
            }
        });

    }

    var _class = UrlTemplateImageryDataSourceView;

    mhjs.Inherit(_class, ImageryDataSourceView);

    Object.defineProperties(_class.prototype, {});

    return _class;

});